package com.sec.etech.process.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sec.etech.common.ModelBase;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 工装
 */
@Data
@TableName("proc_tooling")
public class Tooling extends ModelBase {
    @TableId
    private Long toolingid;
    private String num;
    private String toolinginame;
    private Long mainclassid;
    private Long minorclassid;
    private Long subclassid;
    private String partsname;
    private Long partsid;
    private Long typeid;
    private Integer quantity;
    private Long ordersid;
    private Long componentid;
    private Long plantaskid;
    private Long processid;
    private Long projectid;
    private Long workshopid;
    private Long machinegroupid;
    private Date usingdate;
    private Date confirmdate;
    private Date plandate;
    private Long demanddprtid;
    private Long demanderuid;
    private Long demandrevieweruid;
    private String demandremark;
    private Integer isfiles;
    private Long priorityid;
    private Long toolingnodeid;
    private Long designeruid;
    @TableField("checker1uid")
    private Long checker1uid;
    @TableField("checker2uid")
    private Long checker2uid;
    private Long revieweruid;
    private String designremark;
    private Integer active;
    private Long toolingsupplierid;
    private String toolingsuppliername;
    private String suppliermodel;
    @TableField("is_specialcheck")
    private Integer isSpecialcheck;

    /**
     * 部套名称，提交入库使用
     */
    @TableField(exist = false)
    private String componentnum;
    /**
     * 优先级额定工作日，任务分配使用
     */
    @TableField(exist = false)
    private Integer checktime;

    /**
     * 工装附件
     */
    @TableField(exist = false)
    private List<ToolingFiles> proc_tooling_filesList;


}
